*{
    color: #03e9f4;
    font-family: 'Times New Roman', Times, serif;
}
body{
    display: flex;
    align-items: center;
    justify-self: center;
    min-height: 100vh;
    background-image: linear-gradient(to bottom, rgb(37, 37, 63), rgb(41, 51, 83));
}
#log-in{
    margin: 0 auto;
    width: 350px;
    height: 350px;
    background-color: #112;
    box-shadow: 0 0 12px 2px #111;
}
#log-in > h1{
    width: 100%;
    height: 100px;
    color: white;
    letter-spacing: 2px;
    font-size: 28px;
    line-height: 100px;
    text-align: center;
}
#log-in .frame{
    width: 300px;
    margin: 0 auto;
    height: 50px;
    border-bottom: 1px solid white;
    margin-bottom: 30px;
    position: relative;
}
.frame > input{
    font-family: initial;
    width: 100%;
    height: 100%;
    color: white;
    font-size: 16px;
    padding-top: 24px;
    box-sizing: border-box;
}
.frame > label{
    position: absolute;
    top: 24px;
    left: 0;
    transition: all 0.4s;
}
.frame > input:focus + label,
.frame > input:valid + label{
    font-size: 12px;
    top: 10px;
}

#log-in button{
    position: relative;
    margin-top: 20px;
    margin-left: 25px;
    width: 60px;
    height: 30px;
    font-size: 16px;
    line-height: 30px;
    overflow: hidden;
    cursor: pointer;
}
#log-in button > span{
    position: absolute;
}
#log-in button > span:nth-child(1){
    width: 100%;
    height: 2px;
    background: -webkit-linear-gradient(left, transparent, #03e9f4);
    left: -100%;
    animation: line1 1s linear infinite;
}
#log-in button > span:nth-child(2){
    width: 2px;
    height: 100%;
    background: -webkit-linear-gradient(top, transparent, #03e9f4);
    right: 0;
    top: -100%;
    animation: line2 1s 0.25s linear infinite;
}
#log-in button > span:nth-child(3){
    width: 100%;
    height: 2px;
    background: -webkit-linear-gradient(right, transparent, #03e9f4);
    bottom: 0;
    right: -100%;
    animation: line3 1s 0.5s linear infinite;
}
#log-in button > span:nth-child(4){
    width: 2px;
    height: 100%;
    background: -webkit-linear-gradient(bottom, transparent, #03e9f4);
    left: 0;
    bottom: -100%;
    animation: line4 1s 0.75s linear infinite;
}

#log-in button:hover{
    transition: box-shadow,background-color 0.4s;
    border-radius: 4px;
    background-color: #03e9f4;
    color: white;
    box-shadow: 0 0 5px 0 #03e9f4,
                0 0 25px 0 #03e9f4,
                0 0 50px 0 #03e9f4,
                0 0 100px 0 #03e9f4;
}





@keyframes line1{
    50%, 100%{
        left: 100%;
    }
}

@keyframes line2{
    50%, 100%{
        top: 100%;
    }
}

@keyframes line3{
    50%, 100%{
        right: 100%;
    }
}

@keyframes line4{
    50%, 100%{
        bottom: 100%;
    }
}